package com.haredot.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.haredot.entity.Notify;
import com.haredot.vo.R;

import java.util.Map;

public interface NotifyService extends IService<Notify> {
    /**
     * 查询未读的信息
     * @return
     */
    R<Map<String, Long>> queryUnReadMessages();

    R<Page<Notify>> queryNotifys(Page<Notify> page);
}
